Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: Add makefile and update readme #1173

Merged
merged 10 commits into from
Jun 22, 2023

Conversation

AntonLydike
Copy link
Collaborator

This adds a Makefile containing a collection of common tasks in the project.

@AntonLydike AntonLydike added the xdsl xdsl framework specific changes label Jun 21, 2023
@AntonLydike AntonLydike self-assigned this Jun 21, 2023
@codecov
Copy link

codecov bot commented Jun 21, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.01 🎉

Comparison is base (f86a6ea) 88.66% compared to head (e8feeb3) 88.68%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1173      +/-   ##
==========================================
+ Coverage   88.66%   88.68%   +0.01%     
==========================================
  Files         160      160              
  Lines       22300    22343      +43     
  Branches     3345     3355      +10     
==========================================
+ Hits        19773    19815      +42     
  Misses       1989     1989              
- Partials      538      539       +1     

see 15 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Makefile Show resolved Hide resolved
Copy link
Member

@superlopuh superlopuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much

Makefile Outdated Show resolved Hide resolved
Co-authored-by: Sasha Lopoukhine <superlopuh@gmail.com>
Makefile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
Copy link
Collaborator

@webmiche webmiche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, modulo one target 👍

Makefile Outdated Show resolved Hide resolved
Comment on lines +51 to +54
black:
staged_files="$(shell git diff --staged --name-only)"
# run black on all of xdsl if no staged files exist
black $${staged_files:-xdsl}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also runs black on files that are not Python files. This is not an issue in the pyright case above, since pyright realises that and still works, but black complains.

Not sure we really care, just another minor inconvenience

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not cared so far, maybe we can fix that in an upcoming PR?

@AntonLydike AntonLydike merged commit e85305c into main Jun 22, 2023
@AntonLydike AntonLydike deleted the anton/add-makefile-for-common-tasks branch June 22, 2023 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
xdsl xdsl framework specific changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants